int Partition1(SqList *L, int low, int high)
{
	int pivotkey;
	pivotkey = L->r[low];  /* 用子表的第一个记录作枢轴记录 */
	L->r[0] = pivotkey;
	while(low<high)        /* 从表的两端交替向中间扫描 */
	{
		while(low<high && L->r[high]>=pivotkey)
			high--;
		L->[low] = L->[high];
		while(low<high && L->r[low]<=pivotkey)
			low++;
		L->[high] = L->[low];
	}
	L->[low] = L->[0];
	return low;    /* 返回枢轴所在位置 */
}